package com.ruoyi.jypc.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 楼栋对象 jypc_building
 * 
 * @author wxm
 * @date 2022-10-26
 */
public class Building extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 楼栋编号 */
    private Long buildingid;

    /** 楼栋名称 */
    @Excel(name = "楼栋名称")
    private String buildingname;

    /** 状态（0正常 1停用） */
    @Excel(name = "状态", readConverterExp = "0=正常,1=停用")
    private String status;

    /** 备注1 */
    @Excel(name = "备注1")
    private String remark1;

    /** 备注2 */
    @Excel(name = "备注2")
    private String remark2;

    /** 预留字段 */
    @Excel(name = "预留字段")
    private String y11;

    /** 预留字段 */
    @Excel(name = "预留字段")
    private String y12;

    public void setBuildingid(Long buildingid) 
    {
        this.buildingid = buildingid;
    }

    public Long getBuildingid() 
    {
        return buildingid;
    }
    public void setBuildingname(String buildingname) 
    {
        this.buildingname = buildingname;
    }

    public String getBuildingname() 
    {
        return buildingname;
    }
    public void setStatus(String status) 
    {
        this.status = status;
    }

    public String getStatus() 
    {
        return status;
    }
    public void setRemark1(String remark1) 
    {
        this.remark1 = remark1;
    }

    public String getRemark1() 
    {
        return remark1;
    }
    public void setRemark2(String remark2) 
    {
        this.remark2 = remark2;
    }

    public String getRemark2() 
    {
        return remark2;
    }
    public void setY11(String y11) 
    {
        this.y11 = y11;
    }

    public String getY11() 
    {
        return y11;
    }
    public void setY12(String y12) 
    {
        this.y12 = y12;
    }

    public String getY12() 
    {
        return y12;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("buildingid", getBuildingid())
            .append("buildingname", getBuildingname())
            .append("status", getStatus())
            .append("createBy", getCreateBy())
            .append("createTime", getCreateTime())
            .append("updateBy", getUpdateBy())
            .append("updateTime", getUpdateTime())
            .append("remark1", getRemark1())
            .append("remark2", getRemark2())
            .append("y11", getY11())
            .append("y12", getY12())
            .toString();
    }
}
